<?php

if (!isset($model)) {
    $model = Inflector::classify($this->name);
}
echo $html->link('Revise', array('controller' => isset($controller) ? $controller : null, 'action' => isset($action) ? $action : 'view', $this->data[$model]['id'], 'revise:true'), array('class' => 'button edit'));
?>